-
Home
-
WooCommerce Square
-
4.6.1
-
Code
-
Classes
- Gift_Card
| Total Complexity |
68 |
| Dependencies |
12 |
| Dependents |
3 |
| Total lines |
494 |
| Lines of code |
326 |
| Logical lines of code |
157 |
| Comment lines |
112 |
| Methods |
14 |
| Properties |
1 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_gift_card_fragments() |
D |
26 |
26 |
178 |
| add_gift_card_image_placeholder() |
A |
46 |
8 |
37 |
| enqueue_scripts() |
S |
48 |
5 |
34 |
| does_checkout_support_gift_card() |
S |
64 |
6 |
9 |
| cart_contains_gift_card() |
S |
62 |
4 |
12 |
| cart_contains_upon_release_pre_order() |
S |
63 |
4 |
11 |
| init_gift_cards() |
S |
65 |
4 |
9 |
| apply_gift_card() |
S |
64 |
3 |
9 |
| is_new() |
S |
76 |
2 |
3 |
| is_load() |
S |
76 |
2 |
3 |
| __construct() |
S |
62 |
1 |
11 |
| is_gift_card_enabled() |
S |
78 |
1 |
3 |
| remove_gift_card() |
S |
76 |
1 |
4 |
| delete_sessions() |
S |
80 |
1 |
3 |